package com.authorityManagement.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user")
public class User {
      @TableId(type = IdType.ASSIGN_ID)
      private Long id;
      private String userName;
      private String password;
      private Integer isAccountExpired;
      private Integer isAccountLocked;
      private Integer isEnabled;
      private Integer isCredentialsExpired;
      private String nickName;
      private String departmentName;
      private Long departmentId;
      private String status;
      private String email;
      private String phoneNumber;
      private String sex;
      private String avatar;
      private String userType;
      private Long createBy;
      private String createTime;
      private Long updateBy;
      private String updateTime;
      private Integer delFlag;
      
      
}
